package com.bbzn.device.client.service;

import java.util.List;
import com.bbzn.device.client.dataobject.Fence;
import com.bbzn.device.client.dataobject.Product;
import com.bbzn.device.client.dto.fence.FenceDTO;
import com.bbzn.device.client.dto.product.ProductDTO;
import com.bbzn.device.client.utils.PageInfo;

public interface FenceService {


    int deleteByPrimaryKey(Long id);

    int deleteSelective(Fence record);

    int insert(Fence record);

    int insertOrUpdate(Fence record);

    int insertOrUpdateSelective(Fence record);

    int insertSelective(Fence record);

    Fence selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Fence record);

    int updateByPrimaryKey(Fence record);

    List<Fence> findByAll(Fence fence);

    int updateBatch(List<Fence> list);

    int batchInsert(List<Fence> list);

    PageInfo<Fence> findAllPageSelective(FenceDTO record);

    int findCountByAll(FenceDTO fence);

}


